import myAxios from "../myAxios";
import URL from '../baseUrl'
let base_url = URL.CYURL

const userApi = {
    userLogin(params){
        let url = base_url + 'login'
        return myAxios.post(url,params)
    },
    userReg(params){
        let url = base_url + 'reg'
        return myAxios.post(url,params)
    },
    userList(params){
        let url = base_url + 'user/list'
        return myAxios.get(url,params)
    },
    delUser(params){
        let url = base_url + 'user/del'
        return myAxios.post(url,params)
    }
}
export default userApi